export const option_line_device = {
    title: {
        text: "设备利用率",
        x: '20px',
        y: '0px',
        textStyle: {
            // width:200
            color: '#3A7BD5',
        },
        textAlign: 'auto',
        // left:100,
        // subtext:'总用户量',
        subtextStyle: {
            align: 'center',
            // verticalAlign:'middle'
        }
    },
    tooltip: {},
    xAxis: {
        data: ["1月", "2月"],
        splitLine: {
            show: false,
            lineStyle: {
                color: '#1F7EFF',
                width: 1
            }
        },
        axisLine: {
            show: true,
            lineStyle: {
                color: '#1F7EFF',
                width: 1
            }
        },
    },
    grid: {
        left: 26,
        right: 0,
        bottom: 18,
        top: 20,
    },
    yAxis: {
        splitLine: {
            show: false
        }
    },
    series: [
        {
            name: "设备利用率",
            type: "line",
            smooth: true,
            data: [1, 2],
            itemStyle: {
                normal: {
                    lineStyle: {
                        color: 'orange'
                    },
                    fontSize: 11,
                    color: 'orange',
                }
            },
            label: {
                normal: {
                    show: true,
                    formatter: (params) => {
                        return (params.value)
                    },
                    color: '#6de5ff',
                    position: 'top'
                }
            },
            areaStyle: {
                opacity: 0.1,
                color: 'orange'
            },
        }
    ],
}

export const option_line_test = {
    xAxis: {
        type: 'category',
        data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
    },
    yAxis: {
        type: 'value'
    },
    series: [{
        data: [150, 230, 224, 218, 135, 147, 260],
        type: 'line'
    }]
}
